#ifndef __TOOLBAR_CFG
#define __TOOLBAR_CFG

#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>

#include "BkList.h"
#include "TB97Ctls.hpp"
#include "IvDictio.hpp"
#include "IvMulti.hpp"

class TToolbarsConfigForm : public TForm {
  __published:
        TToolbarButton97 *btnCancel;
        THeaderControl *header;
        HBkList *list;
        TToolbarButton97 *btnEdit;
        TToolbarButton97 *btnAdd;
        TToolbarButton97 *btnDel;
        TIvTranslator *IvTranslator1;
        void __fastcall FormShow(TObject *Sender);
        void __fastcall idRefreshButtons(TObject *Sender);
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
        bool __fastcall listDrawItemSection(TObject *Sender, TCanvas *dc,
          int Index, THeaderSection *Section, const MyRect &Rect,
          const TOwnerDrawState &State);
        void __fastcall btnEditClick(TObject *Sender);
        void __fastcall btnDelClick(TObject *Sender);
        void __fastcall btnAddClick(TObject *Sender);
  private:
    PGUIToolbars Toolbars;

  public:
    __fastcall TToolbarsConfigForm(TComponent* Owner, PGUIToolbars tb );
};

#endif
 